package com.collection.provider.business.dao;

import com.collection.api.entity.ApplyMain;
import com.collection.api.entity.ApplyMainExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface ApplyMainMapper {
    int countByExample(ApplyMainExample example);

    int deleteByExample(ApplyMainExample example);

    int deleteByPrimaryKey(Integer applyMainId);

    int insert(ApplyMain record);

    int insertSelective(ApplyMain record);

    List<ApplyMain> selectByExample(ApplyMainExample example);

    ApplyMain selectByPrimaryKey(Integer applyMainId);

    int updateByExampleSelective(@Param("record") ApplyMain record, @Param("example") ApplyMainExample example);

    int updateByExample(@Param("record") ApplyMain record, @Param("example") ApplyMainExample example);

    int updateByPrimaryKeySelective(ApplyMain record);

    int updateByPrimaryKey(ApplyMain record);

	Map<String, Object> selectUserApplyInfoByApplyId(Integer applyMainId);
}